home *** CD-ROM | disk | FTP | other *** search
- <i>Category</i> set to All Categories for
- multiple pages
- </ul>
- </p>
-
- <p>
- <form action="results.cfm" method="post">
- Item Name:<input type="text" name="ItemName">
- </p>
- <p>
- Category: <select name="CategoryID" size="1">
- <option value="ALL" SELECTED>All Categories</option>
- <cfoutput query="Categories">
- <option value="#CategoryID#">#CategoryName#</option>
- </cfoutput>
- </select>
- </p>
- <p>
- <input type="submit" value=" Submit Search ">
- <input type="reset" value="Clear Entries">
- </form>
- </p>
-
- </cfmodule><!---
- **
- * CFMX Example Applications
- *
- * Copyright (c) 2002 Macromedia. All Rights Reserved.
- *
- * YOUR RIGHTS WITH RESPECT TO THIS SOFTWARE IS GOVERNED BY THE
- * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
- *
- **
- --->
-
- <cfmodule template="../tags/layout.cfm" pageName="Data Drill-Down Example">
-
- <!---
- If CategoryID or ItemID is passed via the query
- string, we need to copy it to the form scope. This
- allows our next N/preHthe fostring, cking r. YOUR RIGHTS WITH RESPibutes.dr>C
- <!--- CFM*
- * CFMml,cfset@Tags94ur own tags to the CFML language/cope. This
- allows our next N/preHthe fostring, cking r. YOUR RIGHTS WITH RESPibutes.dr>C
- <!--- CFM*
- * CFMml,cfset@Tags94ur own tags to the CFML language/cope. This
- allows our next N/preHthe fostring, cking r. YOUR RIGHTS WITH RESPibutes.dr>C
- <!--- CFM*
- fro7suse oTHIS SOFTWARE IS GOVERNED BY THE
- * TERMS AND CONDITIONS SET FORTH IN THE CORRESPONDING EULA.
- *
- **
- --->
-
- <THE
- WITH R>ORRESPONDING SQLon is s
- *ucDITI>
-
- <p>ootoutp<tabtype=>
- </cfoutpuwalectfsetmple Appows ious to th(cfmodule )tabap>
- In tlay itpe="varSQLos sditemNamform.dd
- </cfoutpSQL"C,Celaearches,put --waleame:<tputNoryName#pe=, a selbutes.isthe o TO TH
- </cfofoutp
- <inputtemID#'
- y customRE IS GOV
- ramRE teSPECT TO THibuury itpe="varLast NameyTIONS -- chRESPibutes.dr>C
- <!
- </coutp<t -rnVal = (attributes.tempF!--- CFM*
- fre. If it becomes false, we knoFTH IN THE CO went wrong --->
- <cfsom tblCategories, tblItems
- where tblCategories.CategoryID = tblIte